#ifndef __SINGNALREDIS__HH__
#define __SINGNALREDIS__HH__

#include <sw/redis++/redis++.h>
#include "../Configuration.hh"

using namespace sw::redis;

class SingnalRedis
{
public:
    static SingnalRedis* createRedis();
    static void destoryRedis();
    Redis& getRedis();
private:
    SingnalRedis();
private:
    Redis _redis;
    static SingnalRedis* _instanceRedis; 
};

#endif